import { NgModule } from '@angular/core';
/**
 * 开发component需要的依赖
 */
import { BaseSharedModule } from '../base-shared';
import { PipesModule } from '../pipes/pipes.module';
/**
 * 所有组件
 */
import { CameraComponent } from './camera/camera.component';
import { IconComponent } from './icon/icon.component';


import { ImagesModule } from './images/images.module';
import { VerificationCodeModule } from './verification-code/verification-code.module';
import { MapInteractionModule } from './map-interaction/map-interaction.module';

// todo 所有组件都应该使用module隔离,这样才可以开启tree shook
const components = [
    CameraComponent, IconComponent
];

@NgModule({
    declarations: [...components],
    imports: [
        BaseSharedModule,
        PipesModule,
        ImagesModule,
        VerificationCodeModule,
        MapInteractionModule
    ],
    providers: [],
    exports: [...components, ImagesModule, VerificationCodeModule, MapInteractionModule]
})
export class ComponentsModule {
}
